// URL에 따라서 SideMenu를 선택 표시한다.
function fnSiteMenuOn(strFirstURI, strSecondURI, strThirdURI, strTourthURI) 
{
	if (strFirstURI == "home") {
		// HOME
	}
	else if (strFirstURI == "member") {
		// 사용자정보
		document.getElementById("id_left_menu_member_" + strSecondURI).className = "on";
	}
	else if (strFirstURI == "intro") {
		// 자바카페
		document.getElementById("id_left_menu_intro_" + strSecondURI).className = "on";
	}
	else if (strFirstURI == "blog") {
		// 자바소식
		document.getElementById("id_left_menu_blog_" + strSecondURI).className = "on";
	}
	else if (strFirstURI == "community") {
		// 동호회
		document.getElementById("id_left_menu_community_" + strSecondURI).className = "on";
	}
	else if (strFirstURI == "board") {
		if ( strTourthURI == "NTC_001")
		{
			// 공지사항
			document.getElementById("id_left_menu_notice_notice").className = "on";	
		}
		else if ( strTourthURI == "QNA_002")
		{
			// 설치 강좌
			document.getElementById("id_left_menu_lecture_install").className = "on";
		}
		else if ( strTourthURI == "QNA_003")
		{
			// UI 강좌
			document.getElementById("id_left_menu_lecture_ui").className = "on";
		}
		else if ( strTourthURI == "QNA_004")
		{
			// JAVA 강좌
			document.getElementById("id_left_menu_lecture_java").className = "on";
		}
		else if ( strTourthURI == "BLG_001")
		{
			// 자바 뉴스
			document.getElementById("id_left_menu_blog_javaNews").className = "on";
		}
		else if ( strTourthURI == "BLG_002")
		{
			// IT 뉴스
			document.getElementById("id_left_menu_blog_itNews").className = "on";
		}
		else if ( strTourthURI == "BLG_003")
		{
			// IT 세미나
			document.getElementById("id_left_menu_blog_seminar").className = "on";
		}
		else if ( strTourthURI == "BLG_004")
		{
			// IT 도서 리뷰
			document.getElementById("id_left_menu_blog_bookReview").className = "on";
		}
	}
	else if (strFirstURI == "manage") {
		// 카페관리
		if (strThirdURI == "") {
			document.getElementById("id_left_menu_manage_" + strSecondURI).className = "on";
		} else {
			if (document.getElementById("id_left_menu_manage_" + strSecondURI + "_" + strThirdURI) == null) {
				document.getElementById("id_left_menu_manage_" + strSecondURI).className = "on";
			} else {
				document.getElementById("id_left_menu_manage_" + strSecondURI + "_" + strThirdURI).className = "on";
			}
		}
	}
}









